import request from '@/utils/request'

export function login(data) {
    return request({
      url: '/api/login',
      method: 'post',
      data
    })
  }


  export function getInfo(query) {
    return request({
      url: '/api/user/info',
      method: 'get',
      params: query
    })
  }